const path = require("path");
module.exports = {
  mode: "development", // 设置开发者模式
  // 配置项
  // entry: path.resolve(__dirname, "./src/index.js"), // 设置入口
  entry: [path.resolve(__dirname, "./src/index.js"), path.resolve(__dirname, "./src/myindex.js")],
  output: {
    path: path.resolve(__dirname, "dist"),
    filename: "bundle.js"
  }
}